#include <iostream>
#include <string>

#include "include/indexer.h"

using namespace std;

int main(int argc, char** argv) {

  Indexer* pindex = new Indexer;

  string data_dir = Config::get_instance().get("data_dir");

  pindex->index_all(data_dir);

  pindex->stat();

  delete pindex;

  return 0;
}
